runtime.guintptr.cas (method)
6 uses
runtime (current package)
coro.go#L198: if c.gp.cas(next, self) {
proc.go#L7077: if !pp.runnext.cas(oldnext, guintptr(unsafe.Pointer(gp))) {
proc.go#L7184: if next != 0 && pp.runnext.cas(next, 0) {
proc.go#L7205: if oldNext != 0 && pp.runnext.cas(oldNext, 0) {
proc.go#L7272: if !pp.runnext.cas(next, 0) {
runtime2.go#L245: func (gp *guintptr) cas(old, new guintptr) bool {
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)